package com.dwxt.cms.dao;

import com.dwxt.cms.entity.ModuleCategory;
import com.dwxt.cms.entity.ModuleCategoryExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ModuleCategoryMapper {
    long countByExample(ModuleCategoryExample example);

    int deleteByExample(ModuleCategoryExample example);

    int deleteByPrimaryKey(String moduleId);

    int insert(ModuleCategory record);

    int insertSelective(ModuleCategory record);

    List<ModuleCategory> selectByExample(ModuleCategoryExample example);

    ModuleCategory selectByPrimaryKey(String moduleId);

    int updateByExampleSelective(@Param("record") ModuleCategory record, @Param("example") ModuleCategoryExample example);

    int updateByExample(@Param("record") ModuleCategory record, @Param("example") ModuleCategoryExample example);

    int updateByPrimaryKeySelective(ModuleCategory record);

    int updateByPrimaryKey(ModuleCategory record);
}